A Valve Tool object is an image of a valve that indicates by color if the valve is opened or closed. The Opened property sets the default status of the valve. If the object is associated with a point, the status shown in Run mode is set by the value of a point. This tool can be used only with digital points.
To associate the object with a point use the point identifier properties to form a fully qualified CygNet tag string. The point identifier properties are [1:SiteService], [2:Point ID], [3:Long Point ID], [4:Facility ID], and [5:UDC]. If the object is on a templated screen, only use the [5:UDC] property.
The valve direction is specified by the Orientation property. If you change the orientation, you will also have to adjust the object’s boundary to match. A Valve Tool object cannot be rotated.
If ChangeBodyColor is enabled, the entire valve will change color when the valve is opened or closed. Otherwise just the valve top changes color.
The [AlarmElement] property can be set to show the point state color in the object’s Background Color or not at all (None). When set to None, the color specified for each component is shown. If set to one of the other options, the component color is replaced with the point state color.
The [UseCustomStateColors] property enables the object to use its own custom point state colors. If set to 1 - Yes, the colors used are those defined by the object’s [CustomStateColors] property. If set to 0 - No, the colors are those defined by the TheView’s [CustomStateColors] property.
More:
Valve Tool - Properties, Events, and Methods
Valve Tool - ActiveX Properties